package com.pencilisland.pay.api.bean.wxpay;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name="xml")
public class WxpayOrderResp {
	/**
	 * 应用ID
	 */
	@XmlElement(name = "appid")
	private String appId;
	/**
	 * 商户号
	 */
	@XmlElement(name = "mch_id")
	private String mchId;
	/**
	 * 设备号
	 */
	@XmlElement(name = "device_info")
	private String deviceInfo;
	/**
	 * 随机字符串
	 */
	@XmlElement(name = "nonce_str")
	private String nonceStr;
	/**
	 * 签名
	 */
	@XmlElement(name = "sign")
	private String sign;

	/**
	 * 返回状态码
	 */
	@XmlElement(name = "return_code")
	private String returnCode;

	/**
	 * 业务结果
	 */
	@XmlElement(name = "result_code")
	private String resultCode;
	/**
	 * 错误代码
	 */
	@XmlElement(name = "err_code")
	private String errCode;
	/**
	 * 错误代码描述
	 */
	@XmlElement(name = "err_code_des")
	private String errCodeDes;

	/**
	 * 交易类型
	 */
	@XmlElement(name = "trade_type")
	private String tradeType;

	/**
	 * 预支付交易会话标识
	 */
	@XmlElement(name = "prepay_id")
	private String prepayId;
	
	/**
	 * 支付二维码
	 */
	@XmlElement(name = "code_url")
	private String codeUrl;

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getMchId() {
		return mchId;
	}

	public void setMchId(String mchId) {
		this.mchId = mchId;
	}

	public String getDeviceInfo() {
		return deviceInfo;
	}

	public void setDeviceInfo(String deviceInfo) {
		this.deviceInfo = deviceInfo;
	}

	public String getNonceStr() {
		return nonceStr;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getReturnCode() {
		return returnCode;
	}

	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode;
	}

	public String getResultCode() {
		return resultCode;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getErrCodeDes() {
		return errCodeDes;
	}

	public void setErrCodeDes(String errCodeDes) {
		this.errCodeDes = errCodeDes;
	}

	public String getTradeType() {
		return tradeType;
	}

	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}

	public String getPrepayId() {
		return prepayId;
	}

	public void setPrepayId(String prepayId) {
		this.prepayId = prepayId;
	}

	public String getCodeUrl() {
		return codeUrl;
	}

	public void setCodeUrl(String codeUrl) {
		this.codeUrl = codeUrl;
	}

}
